Skip to content

Extract classpath from gradle project definition instead of manually … - #106

Open
pvangeel wants to merge 2 commits into
GroovyLanguageServer:masterfrom
pvangeel:fetch_classpath_from_gradle_configuration
Open

pvangeel wants to merge 2 commits into
GroovyLanguageServer:masterfrom
pvangeel:fetch_classpath_from_gradle_configuration

Conversation

@pvangeel

Copy link
Copy Markdown

As mentioned in #26 I tried to add support for gradle projects where the classpath is set from the gradle project definition.

…dule

Move Gradle project import from initialize() to initialized() so the
client's initialize request no longer blocks on a cold Gradle daemon
or dependency downloads. Discover each IdeaModule's own content root
(instead of the single workspace root) when scanning for class dirs,
and de-dupe the resulting classpath. Report import failures to the
client via showMessage instead of only logging them.

Also add a local Mason registry entry so this fork can be installed
via Mason as "groovyls" without waiting on an upstream release.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant